home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr13
/
dapz.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1993-05-09
|
2KB
|
78 lines
echo off
:mdDAP
if a:==%1 goto ok
if b:==%1 goto ok
if A:==%1 goto ok
if B:==%1 goto ok
echo Error!
echo Format: INSTALL d1: d2: , where d1 is source drive and d2 is target.
echo Example: INSTALL A: C: -- to install from A: to C:
echo Note: DAP will automatically make its own directory (\dap)
echo in the target drive.
goto theEND
:ok
md %2\dap
cls
echo ********************************
echo * DAP Hard Disk *
echo * Installation *
echo * Utility *
echo ********************************
echo This utility will install DAP from
echo %1 to %2\DAP\
rem %1 is source
rem %2\dap\ is target
echo *******************************
echo * Insert DAP Disk *
echo * Into Drive %1 *
echo *******************************
pause
:disk1
If exist %1\dap.exe goto cpy1
echo *******************************
echo * Insert Disk #1 *
echo * Into Drive %1 *
echo *******************************
pause
goto disk1
:cpy1
echo Copying...DAP.EXE (Program Code)
copy %1\dap.exe %2\dap\*.*
echo Copying...MENU0525.DAT (Data File)
copy %1\menu0525.dat %2\dap\*.*
echo Copying...PART2.EXE (Program Code)
copy %1\part2.exe %2\dap\*.*
:disk2
If exist %1\nutr525.dat goto cpy2
echo *******************************
echo * Insert Disk #2 *
echo * Into Drive %1 *
echo *******************************
pause
goto disk2
:cpy2
echo Copying...NUTR525.DAT (Data File)
copy %1\nutr525.dat %2\dap\*.*
echo Copying...TAB0525.DAT (Data File)
copy %1\tab0525.dat %2\dap\*.*
:disk3
If exist %1\manual.out goto cpy3
echo *******************************
echo * Insert Disk #3 *
echo * Into Drive %1 *
echo *******************************
pause
goto disk3
:cpy3
echo Copying...MANUAL.OUT (Program Documentation)
copy %1\manual.out %2\dap\*.*
:byebye
%2
cd \dap
echo cd \dap > \dap.bat
echo dap >> \dap.bat
cls
echo Installation complete!
echo Type DAP to run program.
:theEND
echo on